package com.ohs.ohsoa.system.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * Subgroup小组实体类（
 * @author mwx
 * @since  2021年9月17日
 */
@Data
public class Subgroup  implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId
    private String subgroupGuid;

    @ApiModelProperty(value = "集团下企业主键")
    @NotNull
    private String groupEnterpriseGuid;

    @ApiModelProperty(value = "分组名称")
    @NotNull
    private String subgroupName;

    @ApiModelProperty(value = "排序")
    @NotNull
    private Integer sortFlag;

    @ApiModelProperty(value = "ids")
    private List<String> ids;

}
